﻿
namespace MyFurion.Model
{
    /// <summary>
    /// 角色信息
    /// </summary>
    [SugarTable("Sys_Role")]
    [Tenant(0)]
    public  class RoleInfo:BaseEntity
    {
        /// <summary>
        /// 角色编码
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "角色编码")]
        public string RoleCode { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "角色名称")]
        public string RoleName { get; set; }
        /// <summary>
        /// 停用启用状态
        /// </summary>
        [SugarColumn(ColumnDescription = "停用启用状态：0停用 1启用", DefaultValue = "1")]
        public EnumStatus Status { get; set; }
        /// <summary>
        /// 机构数据权限类别 默认本部门
        /// </summary>
        [SugarColumn(ColumnDescription = "机构数据权限类别", DefaultValue = "1")]
        public EnumOrgAuthority OrgAuthority { get; set; }
    }
}
